package top.lisicheng.openfeign;

import org.springframework.stereotype.Component;
import top.lisicheng.model.CommonResult;

@Component
public class PaymentApiCallBack implements PaymentApi {

    @Override
    public CommonResult get(Long id) {
        return new CommonResult(500,"PaymentApiCallBack.get");
    }

    @Override
    public CommonResult timeout() {
        return new CommonResult(500,"PaymentApiCallBack.timeout");
    }
}
